function loadPage(){
	$("#cate_img").click(function(){
		$("#cate_box").toggle(1000);
	});
	$("#cate_img1").click(function(){
		$("#cate_box").toggle(1000);
	});	
	newsSlide();
	
	jQuery('#mycarousel').jcarousel({
        vertical: true,
		auto   :1,
		animation : "slow",
		scroll :1,
		size : 5,
		wrap: 'both'
    });
	
	$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
	
	/*$('#defaultCountdown').countdown({
		until: +5400, 
		format: 'YDHMS',
		layout: '<div id="t7_timer">'+
					'<div id="t7_vals">'+
						//'<div id="t7_y" class="t7_numbs">{ynn}</div>'+
						//'<div id="t7_d" class="t7_numbs">{dnnn}</div>'+
						'<div id="t7_h" class="t7_numbs">{hnn}</div>'+
						'<div id="t7_m" class="t7_numbs">{mnn}</div>'+
						'<div id="t7_s" class="t7_numbs">{snn}</div>'+
					'</div>'+
					'<div id="t7_labels">'+
						//'<div id="t7_yl" class="t7_labs">years</div>'+
						//'<div id="t7_dl" class="t7_labs">days</div>'+
						'<div id="t7_hl" class="t7_labs">Giờ</div>'+
						'<div id="t7_ml" class="t7_labs">Phút</div>'+
						'<div id="t7_sl" class="t7_labs">Giây</div>'+
					'</div>'+
					'<div id="t7_timer_over"></div>'+
				'</div>'
	});*/
}


function newsSlide(){
	var newsoption = {
		firstname: "mynews",
		secondname: "showhere",
		thirdname:"news_display",
		fourthname:"news_button" ,
		playingtitle:"Đang chạy : ",
		nexttitle:"Tin tiếp theo : ",
		prevtitle:"prev News:",
		newsspeed:'8000',
		isauto:'1'
	}
	$.init_plus(newsoption);	
}

